﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminForm.master" AutoEventWireup="true" CodeFile="ShowRS.aspx.cs" Inherits="ShowRS" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="grvSR" runat="server" AutoGenerateColumns="False" 
    BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" 
    CellPadding="4" DataKeyNames="id_SP" ForeColor="Black" GridLines="Vertical" 
    onrowcancelingedit="grvSR_RowCancelingEdit" onrowdatabound="grvSR_RowDataBound" 
    onrowdeleting="grvSR_RowDeleting" onrowediting="grvSR_RowEditing" 
    onrowupdating="grvSR_RowUpdating" Width="946px">
    <AlternatingRowStyle BackColor="White" />
    <Columns>
        <asp:BoundField DataField="id_SP" HeaderText="ID" ReadOnly="True" />
        <asp:BoundField DataField="_packageName" HeaderText="Name" />
        <asp:BoundField DataField="_durationDate" HeaderText="Duration" />
        <asp:BoundField DataField="_discount" HeaderText="Discount" />
        <asp:BoundField DataField="_denominations" HeaderText="Denominations" />
        <asp:BoundField DataField="_description" HeaderText="Description" />
        <asp:TemplateField>
            <EditItemTemplate>
                <asp:ImageButton ID="imgUpdate" runat="server" CommandName="update" 
                    ImageUrl="~/icon/save32x32.png" />
                &nbsp;&nbsp;
                <asp:ImageButton ID="imgRef" runat="server" CommandName="cancel" 
                    ImageUrl="~/icon/REFRESH.PNG" />
            </EditItemTemplate>
            <ItemTemplate>
                <asp:ImageButton ID="imgEdit" runat="server" CommandName="edit" 
                    ImageUrl="~/icon/edit.png" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" />
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:ImageButton ID="imgDel" runat="server" CommandName="delete" 
                    ImageUrl="~/icon/DELETE.PNG" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" />
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#CCCC99" />
    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
    <RowStyle BackColor="#F7F7DE" />
    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#FBFBF2" />
    <SortedAscendingHeaderStyle BackColor="#848384" />
    <SortedDescendingCellStyle BackColor="#EAEAD3" />
    <SortedDescendingHeaderStyle BackColor="#575357" />
</asp:GridView>
</asp:Content>

